﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class MyschooldbContext:DbContext
    {
        public MyschooldbContext(DbContextOptions<MyschooldbContext> options)
            : base(options)
        {

        }

        public DbSet<Grades> Grades { get; set; }
        public DbSet<Students> Students { get; set; }
        public DbSet<Department> departments { get; set; }
        public DbSet<Positions> Positions { get; set; }
        public DbSet<Teachers> teachers { get; set; }
        public DbSet<TeachersGrades> teachersGrades { get; set; }
        public DbSet<HomeWork> homeWorks { get; set; }
        public DbSet<FinishWork> finishWorks { get; set; }
        public DbSet<Signln> signlns { get; set; }
    }
}
